﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SpeakTechnology.Presentation
{
    public partial class Welcome : Form
    {
        public Welcome()
        {
            InitializeComponent();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            progressBar1.Value += 1;
            if (progressBar1.Value == 100)
                timer1.Stop();
            if (progressBar1.Value == 100)
                progressBar1.Visible = false;
            if (progressBar1.Value == 100)
                linkLabel1.Visible = true;
          
        }

        private void Welcome_Load(object sender, EventArgs e)
        {
            timer1.Start();

        }

        private void progressBar1_Click(object sender, EventArgs e)
        {
          
        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
           
            ControlUser cu = new ControlUser();
            cu.Show();
            this.Visible = false;

        }
    }
}
